<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include/include :: header('修改字典数据')" />
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
		<form class="form-horizontal m" id="editForm" th:action="@{/admin/dict/item}" th:object="${viewobject}">
			<input name="id"  type="hidden"  th:field="*{id}" />
			<input name="dictId"  type="hidden"  th:field="*{dictId}" />
			<input name="type"  type="hidden"  th:field="*{type}" />
			<input type="hidden" name="oper" id="oper" th:value="${oper}"/>
			<div class="form-group">
				<label class="col-sm-3 control-label is-required">字典标签：</label>
				<div class="col-sm-8">
					<input class="form-control" type="text" name="label" id="label" th:field="*{label}" maxlength="50" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label is-required">字典键值：</label>
				<div class="col-sm-8">
					<input class="form-control" type="text" name="value" id="value" th:field="*{value}" maxlength="50" required>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label is-required">字典排序：</label>
				<div class="col-sm-8">
					<input class="form-control" type="text" name="sort" th:field="*{sort}" maxlength="3" required>
				</div>
			</div>	
			<div class="form-group">
				<label class="col-sm-3 control-label">备注：</label>
				<div class="col-sm-8">
					<textarea id="description" name="description" maxlength="100" class="form-control">[[*{description}]]</textarea>
				</div>
			</div>
		</form>
	</div>
	<th:block th:include="include/include :: footer" />
	<script th:src="@{/pages/sysadm/dict/dictItemEdit.js}"></script>
</body>
</html>
